package com.jsoft.entity;

import java.io.Serializable;

/**
 * 用户表实体类
 *
 * @author : yhx
 * @version : 1.0
 * @date : 2023/2/19
 */
public class User implements Serializable {

    private static final long serialVersionUID = -1383280222330111820L;

    private Integer id;
    private String name;
    private String enterpriseId;
    private String phone;
    private String account;
    private String password;
    private String idcard_name;
    private String idcard_no;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdcard_name() {
        return idcard_name;
    }

    public void setIdcard_name(String idcard_name) {
        this.idcard_name = idcard_name;
    }

    public String getIdcard_no() {
        return idcard_no;
    }

    public void setIdcard_no(String idcard_no) {
        this.idcard_no = idcard_no;
    }

    public User() {
    }


    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }


    public User(Integer id, String name, String enterpriseId, String phone, String account, String password, String idcard_name, String idcard_no) {
        this.id = id;
        this.name = name;
        this.enterpriseId = enterpriseId;
        this.phone = phone;
        this.account = account;
        this.password = password;
        this.idcard_name = idcard_name;
        this.idcard_no = idcard_no;
    }


    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", enterpriseId='" + enterpriseId + '\'' +
                ", phone='" + phone + '\'' +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", idcard_name='" + idcard_name + '\'' +
                ", idcard_no='" + idcard_no + '\'' +
                '}';
    }
}
